
#include "FineryLeatherShoes.h"
#include <iostream>

using namespace npDecorator;
using namespace std;


FineryLeatherShoes::FineryLeatherShoes() : PersonFinery()
{

}

FineryLeatherShoes::~FineryLeatherShoes()
{

}

FineryLeatherShoes::FineryLeatherShoes(const FineryLeatherShoes& cpy) : PersonFinery(cpy)
{

}

FineryLeatherShoes& FineryLeatherShoes::operator=(const FineryLeatherShoes& asn)
{
    if (this == &asn)
    {
        return *this;
    }
    else
    {
        PersonFinery::operator=(asn);
        return *this;
    }
}

FineryLeatherShoes* FineryLeatherShoes::clone() const
{
    return new FineryLeatherShoes(*this);
}

void FineryLeatherShoes::show() const
{
    cout << "皮鞋";
    if (this->person)
    {
        this->person->show();
    }
}
